﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020008CD RID: 2253
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class HeartDialDialogueInfo : IMessage<HeartDialDialogueInfo>, IMessage, IEquatable<HeartDialDialogueInfo>, IDeepCloneable<HeartDialDialogueInfo>, IBufferMessage
	{
		// Token: 0x17001C8B RID: 7307
		// (get) Token: 0x06006524 RID: 25892 RVA: 0x0010F961 File Offset: 0x0010DB61
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<HeartDialDialogueInfo> Parser
		{
			get
			{
				return HeartDialDialogueInfo._parser;
			}
		}

		// Token: 0x17001C8C RID: 7308
		// (get) Token: 0x06006525 RID: 25893 RVA: 0x0010F968 File Offset: 0x0010DB68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return HeartDialDialogueInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001C8D RID: 7309
		// (get) Token: 0x06006526 RID: 25894 RVA: 0x0010F97A File Offset: 0x0010DB7A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return HeartDialDialogueInfo.Descriptor;
			}
		}

		// Token: 0x06006527 RID: 25895 RVA: 0x0010F981 File Offset: 0x0010DB81
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HeartDialDialogueInfo()
		{
		}

		// Token: 0x06006528 RID: 25896 RVA: 0x0010F989 File Offset: 0x0010DB89
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HeartDialDialogueInfo(HeartDialDialogueInfo other) : this()
		{
			this.dialogueId_ = other.dialogueId_;
			this.nKPAPKAKCGG_ = other.nKPAPKAKCGG_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006529 RID: 25897 RVA: 0x0010F9BA File Offset: 0x0010DBBA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HeartDialDialogueInfo Clone()
		{
			return new HeartDialDialogueInfo(this);
		}

		// Token: 0x17001C8E RID: 7310
		// (get) Token: 0x0600652A RID: 25898 RVA: 0x0010F9C2 File Offset: 0x0010DBC2
		// (set) Token: 0x0600652B RID: 25899 RVA: 0x0010F9CA File Offset: 0x0010DBCA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint DialogueId
		{
			get
			{
				return this.dialogueId_;
			}
			set
			{
				this.dialogueId_ = value;
			}
		}

		// Token: 0x17001C8F RID: 7311
		// (get) Token: 0x0600652C RID: 25900 RVA: 0x0010F9D3 File Offset: 0x0010DBD3
		// (set) Token: 0x0600652D RID: 25901 RVA: 0x0010F9DB File Offset: 0x0010DBDB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool NKPAPKAKCGG
		{
			get
			{
				return this.nKPAPKAKCGG_;
			}
			set
			{
				this.nKPAPKAKCGG_ = value;
			}
		}

		// Token: 0x0600652E RID: 25902 RVA: 0x0010F9E4 File Offset: 0x0010DBE4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as HeartDialDialogueInfo);
		}

		// Token: 0x0600652F RID: 25903 RVA: 0x0010F9F2 File Offset: 0x0010DBF2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(HeartDialDialogueInfo other)
		{
			return other != null && (other == this || (this.DialogueId == other.DialogueId && this.NKPAPKAKCGG == other.NKPAPKAKCGG && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06006530 RID: 25904 RVA: 0x0010FA30 File Offset: 0x0010DC30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.DialogueId != 0U)
			{
				num ^= this.DialogueId.GetHashCode();
			}
			if (this.NKPAPKAKCGG)
			{
				num ^= this.NKPAPKAKCGG.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06006531 RID: 25905 RVA: 0x0010FA88 File Offset: 0x0010DC88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006532 RID: 25906 RVA: 0x0010FA90 File Offset: 0x0010DC90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06006533 RID: 25907 RVA: 0x0010FA9C File Offset: 0x0010DC9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.DialogueId != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.DialogueId);
			}
			if (this.NKPAPKAKCGG)
			{
				output.WriteRawTag(40);
				output.WriteBool(this.NKPAPKAKCGG);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06006534 RID: 25908 RVA: 0x0010FAF8 File Offset: 0x0010DCF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.DialogueId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.DialogueId);
			}
			if (this.NKPAPKAKCGG)
			{
				num += 2;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06006535 RID: 25909 RVA: 0x0010FB44 File Offset: 0x0010DD44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(HeartDialDialogueInfo other)
		{
			if (other == null)
			{
				return;
			}
			if (other.DialogueId != 0U)
			{
				this.DialogueId = other.DialogueId;
			}
			if (other.NKPAPKAKCGG)
			{
				this.NKPAPKAKCGG = other.NKPAPKAKCGG;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06006536 RID: 25910 RVA: 0x0010FB94 File Offset: 0x0010DD94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06006537 RID: 25911 RVA: 0x0010FBA0 File Offset: 0x0010DDA0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U)
				{
					if (num != 40U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.NKPAPKAKCGG = input.ReadBool();
					}
				}
				else
				{
					this.DialogueId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400269B RID: 9883
		private static readonly MessageParser<HeartDialDialogueInfo> _parser = new MessageParser<HeartDialDialogueInfo>(() => new HeartDialDialogueInfo());

		// Token: 0x0400269C RID: 9884
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400269D RID: 9885
		public const int DialogueIdFieldNumber = 3;

		// Token: 0x0400269E RID: 9886
		private uint dialogueId_;

		// Token: 0x0400269F RID: 9887
		public const int NKPAPKAKCGGFieldNumber = 5;

		// Token: 0x040026A0 RID: 9888
		private bool nKPAPKAKCGG_;
	}
}
